/* ===================================================== */
/*                     CONTACT                            */
/* ===================================================== */

.contact{

    width:100%;

    padding:40px 80px 60px;

    box-sizing:border-box;
}


/* ===================================================== */
/*                  باکس اصلی                             */
/* ===================================================== */

.contact-container{

    max-width:1600px;

    margin:0 auto;

    padding:35px;

    border-radius:32px;

    background:
    rgba(255,255,255,.02);

    border:
    1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(20px);
}


/* ===================================================== */
/*                    عنوان                               */
/* ===================================================== */

.contact-header{

    text-align:center;

    margin-bottom:20px;
}

.contact-header h2{

    color:white;

    font-size:40px;

    font-weight:800;

    margin-bottom:12px;

    text-shadow:
    0 0 20px rgba(0,255,238,.25);
}

.contact-header p{

    color:#d7e3ff;

    font-size:16px;

    font-weight:500;

    line-height:1.6;

    max-width:900px;

    margin:auto;
}


/* ===================================================== */
/*                    خط جداکننده                        */
/* ===================================================== */

.contact-line{

    width:140px;

    height:4px;

    margin:18px auto 32px;

    border-radius:50px;

    background:linear-gradient(
        90deg,
        #00F5FF,
        #6F7CFF
    );

    box-shadow:
        0 0 10px rgba(0,245,255,.6),
        0 0 25px rgba(0,245,255,.45),
        0 0 45px rgba(0,245,255,.2);
}


/* ===================================================== */
/*                     گرید اصلی                          */
/* ===================================================== */

.contact-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:36px;

    align-items:center;
}


/* ===================================================== */
/*                                                        */
/*           شبکه نقاط متصل (Particle Network)            */
/*                                                        */
/* ===================================================== */

.contact-network-box{

    position:relative;

    width:100%;

    max-width:300px;

    aspect-ratio:1/1;

    margin:0 auto;

    border-radius:24px;

    overflow:hidden;

    background:rgba(255,255,255,.02);

    border:1px solid rgba(255,255,255,.08);
}

.network-canvas{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    display:block;
}


/* ===================================================== */
/*                                                        */
/*                  اطلاعات تماس                         */
/*                                                        */
/* ===================================================== */

.contact-info-box{

    display:flex;

    flex-direction:column;

    gap:14px;
}

.contact-item{

    display:flex;

    align-items:center;

    gap:16px;

    padding:16px 20px;

    border-radius:18px;

    background:
    rgba(255,255,255,.03);

    border:
    1px solid rgba(255,255,255,.08);

    text-decoration:none;

    cursor:pointer;

    transition:.35s;
}

.contact-item:hover{

    transform:translateY(-6px);

    border-color:
    rgba(0,255,238,.3);

    box-shadow:
    0 0 35px rgba(0,255,238,.18);
}


/* ===================================================== */
/*                  آیکون گرد                             */
/* ===================================================== */

.contact-icon{

    flex:0 0 46px;

    width:46px;

    height:46px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:19px;

    transition:.4s;
}

.contact-item:hover .contact-icon{

    transform:
    scale(1.1)
    rotate(5deg);
}

.phone-icon{

    background:
    radial-gradient(circle,#00ffee,#0088ff);

    box-shadow:
    0 0 30px rgba(0,255,238,.45);
}

.insta-icon{

    background:
    radial-gradient(circle,#ff9fd8,#c239b3);

    box-shadow:
    0 0 30px rgba(194,57,179,.45);
}

.mail-icon{

    background:
    radial-gradient(circle,#00ff88,#00c853);

    box-shadow:
    0 0 30px rgba(0,255,136,.45);
}


/* ===================================================== */
/*                    متن کارت                            */
/* ===================================================== */

.contact-text{

    display:flex;

    flex-direction:column;

    gap:6px;
}

.contact-text span{

    color:#9fb3d9;

    font-size:12px;

    font-weight:500;
}

.contact-text strong{

    color:white;

    font-size:16px;

    font-weight:700;

    unicode-bidi:plaintext;
}


/* ===================================================== */
/*                     موبایل                             */
/* ===================================================== */

@media(max-width:1100px){

    .contact{
        padding:40px 30px;
    }

    .contact-container{
        padding:28px;
    }

    .contact-header h2{
        font-size:32px;
    }

    .contact-header p{
        font-size:15px;
    }

    .contact-grid{
        grid-template-columns:1fr;
        gap:32px;
    }

    .contact-network-box{
        max-width:260px;
        margin:0 auto;
    }
}

@media(max-width:600px){

    .contact-container{
        padding:20px;
        border-radius:24px;
    }

    .contact-header h2{
        font-size:26px;
    }

    .contact-item{
        padding:14px 16px;
        gap:12px;
    }

    .contact-icon{
        flex:0 0 42px;
        width:42px;
        height:42px;
        font-size:18px;
    }

    .contact-text strong{
        font-size:15px;
    }
}
